package cn.edu.xmu.orderpayment.order.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Positive;

/**
 * @author Li Yixuan 22920192204232
 * @create: 2021/12/13
 */
@Data
@ApiModel(value = "修改订单")
public class UpdateOrderVo {
    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "电话")
    private String mobile;

    @ApiModelProperty(value = "收货人")
    private String consignee;

    @Positive(message = "地区 id 必须为正数")
    private Long regionId;

}
